﻿namespace Grow.Module
{
    public abstract class ModuleBase : IModule
    {
        public abstract ModuleLevel Level { get; }
        public virtual int Order { get; } = 0;

        public abstract void AddDependModule(IDependModuleBuilder dependModuleBuilder);

        public abstract void AddService(IServiceContainer serviceContainer);

        public abstract void UseService(IServiceContext serviceContext);
    }
}
